Eclipse Platform
Pre-release 3.0

org.eclipse.compare
Interface IStreamContentAccessorExtension2

All Superinterfaces:
IStreamContentAccessor
All Known Implementing Classes:
DocumentRangeNode, HistoryItem, ResourceNode

public interface IStreamContentAccessorExtension2
extends IStreamContentAccessor

Extension interface for IStreamContentAccessor. Extends the original concept of a IStreamContentAccessor to answer the Charset (encoding) used for the stream.

Since:
3.0

Method Summary
 String getCharset()
           
 
Methods inherited from interface org.eclipse.compare.IStreamContentAccessor
getContents
 

Method Detail

getCharset

public String getCharset()
                  throws CoreException
Returns:
The character encoding of the stream returned by getContents().
Throws:
CoreException - if the contents of this object could not be accessed
Since:
3.0

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.